from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^api/v1.0/areas$', views.ShowAreaView.as_view()),
    re_path(r'^api/v1.0/houses$', views.LaunchHouseSourceView.as_view()),
    re_path(r'^api/v1.0/user/houses$', views.ShowHouseListView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$', views.UploadHouseImage.as_view()),
    re_path(r'^api/v1.0/houses/index$', views.IndexImageView.as_view()),
    re_path(r'^api/v1.0/houses$', views.SearchHouseView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)$', views.HouseDetailView.as_view()),
]


